home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
comm
/
ums
/
pint.lha
/
UMS
/
Rexx
/
GotoMsg.pint
< prev
next >
Wrap
Text File
|
1997-03-04
|
733b
|
45 lines
/*
$VER: GotoMsg.pint 1.0 (27.8.95)
Author:
Matthias Scheler (tron@lyssa.owl.de)
Updated for PINT (22.2.97):
Magnus Heino (nd95mho@Student.HGS.SE)
Function:
asks for a message number and display the message
History:
0.1 initial version
1.0 released with IntuiNews 1.3
Example for "ums.config":
( PINT.Rexx
...
"GroupWindow F2 GotoMsg.pint\n"
...
)
*/
/* Exit if Group Window is not active. */
OPTIONS RESULTS
STATUS
IF RESULT~="GROUP" THEN EXIT 5
/* Ask the user for the message numbr. */
'GETSTRING TITLE "Goto Message" LABEL "_Message Number"'
IF RESULT="RESULT" THEN EXIT 5
MsgNum=RESULT
/* now scan it */
BEGINSCAN
'SCANMSG' MsgNum
ENDSCAN